package com.beta.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 
 *
 */
@TableName("c_region_levels")
public class CRegionLevels implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**  */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**  */
	private Integer code;

	/**  */
	private Integer parentId;

	/**  */
	private String name;

	/**  */
	private Integer level;

	/**  */
	private Date createdAt;

	/**  */
	private Date updatedAt;


	public Integer getId() {
		return this.id;
	}

	public CRegionLevels setId(Integer id) {
		this.id = id;
		return this;
	}

	public Integer getCode() {
		return this.code;
	}

	public CRegionLevels setCode(Integer code) {
		this.code = code;
		return this;
	}

	public Integer getParentId() {
		return this.parentId;
	}

	public CRegionLevels setParentId(Integer parentId) {
		this.parentId = parentId;
		return this;
	}

	public String getName() {
		return this.name;
	}

	public CRegionLevels setName(String name) {
		this.name = name;
		return this;
	}

	public Integer getLevel() {
		return this.level;
	}

	public CRegionLevels setLevel(Integer level) {
		this.level = level;
		return this;
	}

	public Date getCreatedAt() {
		return this.createdAt;
	}

	public CRegionLevels setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
		return this;
	}

	public Date getUpdatedAt() {
		return this.updatedAt;
	}

	public CRegionLevels setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
		return this;
	}

}
